package com.jic.order.mapper;

import com.jic.order.entity.OrderDeliveryReleaseRelation;
import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 交货单发布管理交易记录
 *
 * @author :
 * @version : v1.0.0
 * @email :
 * @since : 2020-05-29 04:59:34
 */
@Mapper
public interface OrderDeliveryReleaseRelationMapper {

  long insert(OrderDeliveryReleaseRelation orderDeliveryReleaseRelation);

  long delete(Long id);

  long update(OrderDeliveryReleaseRelation orderDeliveryReleaseRelation);

  OrderDeliveryReleaseRelation queryByPrimaryKey(Long id);

  List<OrderDeliveryReleaseRelation> query(OrderDeliveryReleaseRelation orderDeliveryReleaseRelation);

  List<OrderDeliveryReleaseRelation> queryPage(@Param("startIndex") int startIndex,
      @Param("limit") int limit,
      @Param("orderDeliveryReleaseRelation") OrderDeliveryReleaseRelation orderDeliveryReleaseRelation);

  long queryPageCount(@Param("orderDeliveryReleaseRelation") OrderDeliveryReleaseRelation orderDeliveryReleaseRelation);
}